home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000184_worsch@neumann…giessen.d400.de_Wed Jan 26 18:55:05 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  4KB

  1. Received: from ixgate01.dfnrelay.d400.de by cs.umb.edu with SMTP id AA20810
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Fri, 28 Jan 1994 05:35:06 -0500
  3. Received: from ixgate02.dfnrelay.d400.de by ixgate01.dfnrelay.d400.de 
  4.           with SMTP (PP); Wed, 26 Jan 1994 19:16:32 +0100
  5. X400-Received: by mta d400relay in /PRMD=dfnrelay/ADMD=d400/C=de/; Relayed;
  6.                Wed, 26 Jan 1994 19:16:03 +0100
  7. X400-Received: by /PRMD=uni-giessen/ADMD=d400/C=de/; attempted /ADMD=/C=/;
  8.                Relayed; Wed, 26 Jan 1994 17:54:49 +0100
  9. X400-Received: by /ADMD=/C=/; Relayed; Wed, 26 Jan 1994 17:55:05 +0100
  10. X400-Received: by /PRMD=uni-giessen/ADMD=d400/C=de/; Relayed;
  11.                Wed, 26 Jan 1994 17:55:05 +0100
  12. Date: Wed, 26 Jan 1994 17:55:05 +0100
  13. X400-Originator: worsch@neumann.informatik.uni-giessen.d400.de
  14. X400-Recipients: non-disclosure:;
  15. X400-Mts-Identifier: [/PRMD=uni-giessen/ADMD=d400/C=de/;940126175409835-MTAJLUG]
  16. X400-Content-Type: P2-1984 (2)
  17. Alternate-Recipient: Allowed
  18. From: "(Thomas Worsch)" <worsch@neumann.neumann.informatik.uni-giessen.d400.de>
  19. Message-Id: <9401261655.AA01334@neumann.informatik.uni-giessen.d400.de>
  20. To: tex-k@cs.umb.edu
  21. Subject: web2c-6.0: need your advice for debugging
  22. Reply-To: worsch@ira.uka.de
  23. Content-Length: 3131
  24.  
  25. Hello,
  26.  
  27. I'm having problems to build the new unix tex distribution. This is on 
  28. Sparcs running Solaris 2.3 with gcc 2.5.7, everything compiled with -O.
  29.  
  30. We have cmbase.mf in /usr1/tex/lib/texmf/fonts/public/cm/src/cmbase.mf.
  31. Inimf does find cmbase.mf without any problems if I set MFINPUTS to
  32. .:/usr1/tex/lib/texmf/mf//:/usr1/tex/lib/texmf/fonts//src or to
  33. .:/usr1/tex/lib/texmf/mf//:/usr1/tex/lib/texmf/fonts/public/cm/src//
  34.  
  35. But MFINPUTS is
  36. .:/usr1/tex/lib/texmf/mf//:/usr1/tex/lib/texmf/fonts//src//
  37. It was my understanding, that inimf still should find cmbase.mf in this 
  38. situation.
  39. PROBLEM 1: But when inimf tries to dump cmmf.base, it doesn't find 
  40.            cmbase.mf and
  41. PROBLEM 2: dumps core after a segmentation fault.
  42.  
  43. Running under gdb shows that inimf is dying in an opendir.
  44.  
  45. QUESTION 1: Does anyone have an idea what I might have done wrong during 
  46.             the build process? (But there are not many possibilities :-)
  47.             I retrievd the files on Tuesday morning from ftp.cs.umb.edu,
  48.             didn't make any changes to any of the source files, and
  49.             simply said 
  50.               configure
  51.               gmake XCFLAGS=-O
  52.             )
  53.  
  54. QUESTION 2: How should I continue the debugging?
  55.  
  56. Finally some information from gdb:
  57.  
  58. (gdb) run \&./mf cmbase dump
  59. Starting program: /usr1/tex/src/systems/unix/web2c-6.0/web2c/mf/inimf \&./mf cmbase dump
  60. This is METAFONT, Version 2.71 (C version 6.0) (INIMF)
  61.  
  62. Program received signal SIGSEGV (11), Segmentation fault
  63. 0xef778974 in inputfile ()
  64. (gdb) bt
  65. #0  0xef778974 in inputfile ()
  66. #1  0xef778900 in inputfile ()
  67. #2  0xef77874c in inputfile ()
  68. #3  0xef77cc74 in inputfile ()
  69. #4  0x4d6ac in do_subdir (str_list_ptr=0x2f8be8, 
  70.     elt=0x2fb4b8 "/usr1/tex/lib/texmf/fonts/public/rsfs/src//", elt_length=42, 
  71.     post=0x2fb4e3 "") at elt-dirs.c:126
  72. #5  0x4d97c in expand_elt (str_list_ptr=0x2f8be8, 
  73.     elt=0x2fb4b8 "/usr1/tex/lib/texmf/fonts/public/rsfs/src//", start=38)
  74.     at elt-dirs.c:217
  75. #6  0x4d838 in do_subdir (str_list_ptr=0x2f8be8, 
  76.     elt=0x2fab00 "/usr1/tex/lib/texmf/fonts/public/src//", elt_length=33, 
  77.     post=0x2faad3 "src//") at elt-dirs.c:161
  78. #7  0x4d860 in do_subdir (str_list_ptr=0x2f8be8, 
  79.     elt=0x2faab8 "/usr1/tex/lib/texmf/fonts//src//", elt_length=26, 
  80.     post=0x2faad3 "src//") at elt-dirs.c:180
  81. #8  0x4d97c in expand_elt (str_list_ptr=0x2f8be8, 
  82.     elt=0x2faab8 "/usr1/tex/lib/texmf/fonts//src//", start=0) at elt-dirs.c:217
  83. #9  0x4da98 in kpse_element_dirs (
  84.     elt=0xeffffe0f "/usr1/tex/lib/texmf/fonts//src//") at elt-dirs.c:277
  85. #10 0x4b4fc in path_search (
  86.     path=0xeffffdf4 ".:/usr1/tex/lib/texmf/mf//:/usr1/tex/lib/texmf/fonts//src//", name=0x2faa70 "cmbase.mf", all=false) at pathsearch.c:131
  87. ---Type <return> to continue, or q <return> to quit---q
  88. Quit
  89. (gdb) list
  90. 121      name = fn_copy0 (elt, elt_length);
  91. 122      
  92. 123      assert (IS_DIR_SEP (elt[elt_length - 1]));
  93. 124      
  94. 125      /* If we can't open it, quit.  */
  95. 126      dir = opendir (FN_STRING (name));
  96. 127      if (dir == NULL)
  97. 128        {
  98. 129          fn_free (&name);
  99. 130          return;
  100. (gdb) p (name).str
  101. $3 = 0x2fba68 "/usr1/tex/lib/texmf/fonts/public/rsfs/src/"
  102. (gdb) 
  103.